﻿@model GDoc.Web.Models.AccountCreateModel

@{
    ViewBag.Title = "Crear una Nueva Cuenta";
}

<h2>Crear una Nueva Cuenta</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <div class="editor-label">
        @Html.LabelFor(model => model.Name)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Name)
        @Html.ValidationMessageFor(model => model.Name)
    </div>

    <p>
        <input type="button" value="Cancelar" class="cancel-button" onclick="navigateToUrl('@Url.Action("Index", "Home")')" />
        <input type="submit" value="Crear" class="accept-button" />
    </p>
}

<div>
    
</div>

